import axios from '../request/axios.js'

export const getSceneList = (data) => {
  return axios({
    url: "/getSceneList?page="+data.page+"&page_size="+data.page_size,
    method: "get"
  })
}

export const getSceneInfo = (id) => {
  return axios({
    url: "/getSceneInfo?id="+id,
    method: "get"
  })
}

export const getScenePlanList = (data) => {
  return axios({
    url: "/getPlanList?page="+data.page+"&page_size="+data.page_size+"&scene_id="+data.sceneId ,
    method: "get"
  })
}
